#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int m = 0;
	while (scanf("%d", &m) != EOF)
	{
		int a = m * m * m;
		for (int i = 1; ; i+=2)
		{
			int sum = m * i + m * (m - 1);
			if (a == sum)
			{
				for (int j = 1; j <= m-1; j++)
				{
					printf("%d+", i + (j - 1) * 2);
				}
				printf("%d", i + (m - 1) * 2);
				printf("\n");
				break;
			}
		}
	}
	return 0;
}